<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MNK_Image: Referencia de la Clase MKY_Image</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generado por Doxygen 1.5.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
      <li><a href="files.html"><span>Archivos</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;de&nbsp;clases</span></a></li>
      <li><a href="functions.html"><span>Miembros&nbsp;de&nbsp;las&nbsp;clases</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referencia de la Clase MKY_Image</h1><!-- doxytag: class="MKY_Image" -->Clase para facilitar el cargar y mostrar imagenes. <br>
<ul>
<li>por maddmax666. </li></ul>
 
<a href="#_details">Más...</a>
<p>
<code>#include &lt;<a class="el" href="_m_k_y___image_8h-source.html">MKY_Image.h</a>&gt;</code>
<p>

<p>
<a href="class_m_k_y___image-members.html">Lista de todos los miembros.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1eb33481790a28eef367b11fe4661065"></a><!-- doxytag: member="MKY_Image::MKY_Image" ref="1eb33481790a28eef367b11fe4661065" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#1eb33481790a28eef367b11fe4661065">MKY_Image</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor 1, sin parametros. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#5595bd4c9b25ba9742bffa91cad14b4b">MKY_Image</a> (SDL_Surface *_screen, char *_imgName, SDL_Rect _pos)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor 2 <br>
.  <a href="#5595bd4c9b25ba9742bffa91cad14b4b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#c5d7bd4951e967999e1fbc484dcf75c4">loadImage</a> (char *_imgName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Carga la imagen, lista para dibujar <br>
.  <a href="#c5d7bd4951e967999e1fbc484dcf75c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48530a1f4bdcade4d8a214cb2c8ef84b"></a><!-- doxytag: member="MKY_Image::drawImage" ref="48530a1f4bdcade4d8a214cb2c8ef84b" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#48530a1f4bdcade4d8a214cb2c8ef84b">drawImage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dibuja la imagen cargada en pantalla. <br></td></tr>
<tr><td colspan="2"><br><h2>Atributos privados</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58bddae1ac27b6a8b9bcf79b232e03ec"></a><!-- doxytag: member="MKY_Image::m_pos" ref="58bddae1ac27b6a8b9bcf79b232e03ec" args="" -->
SDL_Rect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#58bddae1ac27b6a8b9bcf79b232e03ec">m_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Posicion de la imagen. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bbefe23cee8ed94320cd74645368cbf4"></a><!-- doxytag: member="MKY_Image::m_image" ref="bbefe23cee8ed94320cd74645368cbf4" args="" -->
SDL_Surface *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#bbefe23cee8ed94320cd74645368cbf4">m_image</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Imagen que sera mostrada. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1c2be4ebe81cc7014f25d90cfce0ecb"></a><!-- doxytag: member="MKY_Image::m_screen" ref="e1c2be4ebe81cc7014f25d90cfce0ecb" args="" -->
SDL_Surface *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#e1c2be4ebe81cc7014f25d90cfce0ecb">m_screen</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Puntero al screen surface. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4b195947d1bc4c4a228c8c1259e4e7a"></a><!-- doxytag: member="MKY_Image::m_colorKey" ref="a4b195947d1bc4c4a228c8c1259e4e7a" args="" -->
Uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_k_y___image.html#a4b195947d1bc4c4a228c8c1259e4e7a">m_colorKey</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">El color que sera transparente. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Descripción detallada</h2>
Clase para facilitar el cargar y mostrar imagenes. <br>
<ul>
<li>por maddmax666. </li></ul>

<p>
Esta clase ayudara en el desarrollo de videojuegos <br>
 al Monkey Team, de ahi el nombre de la clase "MKY" _Image <br>
 espero que sea de utilidad :). <br>
 <hr><h2>Documentación del constructor y destructor</h2>
<a class="anchor" name="5595bd4c9b25ba9742bffa91cad14b4b"></a><!-- doxytag: member="MKY_Image::MKY_Image" ref="5595bd4c9b25ba9742bffa91cad14b4b" args="(SDL_Surface *_screen, char *_imgName, SDL_Rect _pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MKY_Image::MKY_Image           </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&nbsp;</td>
          <td class="paramname"> <em>_screen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>_imgName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Rect&nbsp;</td>
          <td class="paramname"> <em>_pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor 2 <br>
. 
<p>
<dl compact><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>*_screen</em>&nbsp;</td><td>Puntero a la pantalla </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_imgName</em>&nbsp;</td><td>Recibe el path de la imagen </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_pos</em>&nbsp;</td><td>Recibe la posicion donde se inicializa la imagen </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Documentación de las funciones miembro</h2>
<a class="anchor" name="c5d7bd4951e967999e1fbc484dcf75c4"></a><!-- doxytag: member="MKY_Image::loadImage" ref="c5d7bd4951e967999e1fbc484dcf75c4" args="(char *_imgName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MKY_Image::loadImage           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>_imgName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Carga la imagen, lista para dibujar <br>
. 
<p>
<dl compact><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_imgName</em>&nbsp;</td><td>Recibe el nombre de la imagen a cargar </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
<li>Escritorio/MKY_Image/<a class="el" href="_m_k_y___image_8h-source.html">MKY_Image.h</a><li>Escritorio/MKY_Image/MKY_Image.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generado el Wed Nov 26 03:33:49 2008 para MNK_Image por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>
